﻿using UnityEngine;
using System.Collections;

public class ObjectSpawner : Actor
{
	public Transform m_TargetPosition;
	/*
	public Texture m_GizmoVisual;
	public Vector2 m_GizmoSize;
	*/

	//protected Rect m_GizmoRect = new Rect();

	protected virtual void Start()
	{
		Spawn ();
	}

	protected virtual void Spawn()
	{
		Destroy(aGameObject);
	}

	protected virtual void OnDrawGizmos()
	{
		//m_GizmoRect.x = aTransform.position.x;
		//m_GizmoRect.y = aTransform.position.y ;
		//m_GizmoRect.width = m_GizmoSize.x;
		//m_GizmoRect.height = -m_GizmoSize.y;
	}
}
